@layout("/common/_vue_container.html"){
<div id="app" v-cloak v-loading="fullscreenLoading" style="height:100%;">
    <div class="main_content">
        <div v-loading="screenLoading">
            <div class="remind_title2">
                渠道添加
                <el-button
                        type="primary"
                        size="small"
                        class="product-new-button"
                        v-on:click="toBackList"
                >
                    返回
                </el-button>
            </div>
            <div style="height: 60px;line-height: 60px;font-size: 18px;">市场名称:</div>
            <div style="width: 300px;">
                <el-input
                        label="市场名称"
                        v-model="channelData.channelName"
                        placeholder="请输入市场名称"
                        v-on:blur="checkName(channelData.channelName)"
                >
                </el-input>
            </div>
            <div style="height: 60px;line-height: 60px;font-size: 18px;">渠道号:</div>
            <div style="width: 300px;">
                <el-input
                        label="渠道号"
                        v-model="channelData.channelCode"
                        placeholder="请输入渠道号"
                        v-on:blur="checkCode(channelData.channelCode)"
                >
                </el-input>
            </div>
            <div style="height: 60px;line-height: 60px;font-size: 18px;">版本号:</div>
            <div style="width: 300px;">
                <el-input
                        label="版本号"
                        v-model="channelData.appVersion"
                        placeholder="请输入版本号"
                >
                </el-input>
            </div>
            <div style="height: 60px;line-height: 60px;font-size: 18px;">UI状态:</div>
            <div>
                <div>
                    <el-radio-group v-model="channelData.uiType">
                        <el-radio :label=0>用户UI</el-radio>
                        <el-radio :label=1>送审UI</el-radio>
                        <el-radio :label=2>cpd审核</el-radio>
                    </el-radio-group>
                </div>
            </div>

            <div style="margin-top: 20px;">
                <el-button type="primary" v-on:click="saveChannelInfo()">确 定</el-button>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/cash/place/place_add.js"></script>
@}